<template>
  <div class="pwd">
    <ohead title="密码设置"></ohead>
    <div class="box">
      <p>请设置新密码，新密码为8-15位数字、字母、符号组成</p>
      <pwdlist title="旧密码" inputval="请输入旧密码"></pwdlist>
      <pwdlist title="新密码" inputval="请输入新密码"></pwdlist>
      <pwdlist title="确认密码" inputval="请确认密码"></pwdlist>
    </div>
    <span class="sspan" @click="show"></span>
    <button class="btn">完成</button>
  </div>
</template>

<script>
import ohead from "../../Shop/order/orderhead";
import pwdlist from "./pwdlist";
export default {
  components: { ohead, pwdlist },
  methods: {
    show() {
      this.$router.push("/account");
    },
  },
};
</script>

<style lang="less" scoped>
.pwd {
  .box {
    font-size: 30px;
    text-align: left;
    padding-left: 20px;
    div {
      margin-bottom: 60px;
    }
    p {
      margin: 60px 0;
      font-size: 12px;
      text-align: left;
      color: rgba(0, 0, 0, 0.5);
    }
  }
}
.btn {
  width: 90vw;
  font-size: 30px;
  padding: 20px 0;
  border-radius: 10px;
  background-color: #fd2b49;
  color: rgba(255, 255, 255,.8);
  margin-top: 80px;
}
.sspan {
  position: fixed;
  width: 60px;
  height: 60px;
  left: 0;
  top: 0;
  z-index: 99;
}
</style>